/***************************************************************
 * Name:      mimoteMain.h
 * Purpose:   Defines Application Frame
 * Author:    Teodor Sandu (relu902@gmail.com)
 * Created:   2012-11-23
 * Copyright: Teodor Sandu (http://phpfacil.webcindario.com/index.php)
 * License:
 **************************************************************/

#ifndef MIMOTEMAIN_H
#define MIMOTEMAIN_H

//(*Headers(mimoteFrame)
#include <wx/listctrl.h>
#include <wx/stattext.h>
#include <wx/menu.h>
#include <wx/panel.h>
#include <wx/button.h>
#include <wx/frame.h>
#include <wx/statusbr.h>
//*)
#include <wx/stattext.h>
#include <wx/listctrl.h>
#include "tipo_datos.h"

class mimoteFrame: public wxFrame
{
    public:

        mimoteFrame(wxWindow* parent,wxWindowID id = -1);
		empleado miempleado;
		//void SetEmpleado(empleado e) ;
		//empleado GetEmpleado() const;

        virtual ~mimoteFrame();

    private:

		void CargarBD_enLista();

        //(*Handlers(mimoteFrame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnButton1Click(wxCommandEvent& event);
        void OnClose(wxCloseEvent& event);
        void OnButton2Click(wxCommandEvent& event);
        //*)
        void OnButton3Click(wxCommandEvent& event);
        void OnButton4Click(wxCommandEvent& event);

        //(*Identifiers(mimoteFrame)
        static const long ID_BUTTON1;
        static const long ID_BUTTON2;
        static const long ID_LISTCTRL1;
        static const long ID_STATICTEXT1;
        static const long ID_PANEL1;
        static const long idMenuQuit;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        //*)
        static const long ID_BUTTON3;
        static const long ID_BUTTON4;
        static const long ID_STATICTEXT2;
        static const long ID_STATICTEXT3;
        static const long ID_STATICTEXT4;
        static const long ID_STATICTEXT5;
        static const long ID_STATICTEXT6;
        static const long ID_STATICTEXT7;

        // Renuncio a ListBox, uso ListCtrl en su lugar // static const long ID_LISTBOX1;
        //static const long ID_MILISTCTRL;
        //static const long ID_STATICTEXT1;//este StaticText esta creado "a mano"

        //(*Declarations(mimoteFrame)
        wxListCtrl* ListCtrl1;
        wxButton* Button1;
        wxPanel* Panel1;
        wxStaticText* StaticText1;
        wxButton* Button2;
        wxStatusBar* StatusBar1;
        //*)
        wxButton* Button3;
        wxButton* Button4;
        wxStaticText* StaticText2;
        wxStaticText* StaticText3;
        wxStaticText* StaticText4;
        wxStaticText* StaticText5;
        wxStaticText* StaticText6;
        wxStaticText* StaticText7;

        //wxStaticText* StaticText1;//este StaticText esta creado "a mano"
        // Renuncio a ListBox, uso ListCtrl en su lugar // wxListBox* ListBox1;
        //wxListCtrl* ListCtrl1;

        DECLARE_EVENT_TABLE()
};

#endif // MIMOTEMAIN_H
